package org.txazo.blog.commons.parse.base;

import org.txazo.blog.commons.io.StringLineReader;
import org.txazo.blog.commons.io.StringLineWriter;
import org.txazo.blog.commons.io.base.Reader;
import org.txazo.blog.commons.io.base.Writer;

public class Test {

	public static void main(String[] args) {
		Writer slw = new StringLineWriter(300);
		slw.write("abc1");
		slw.write("abc1");
		slw.write("abc2");

		Reader slr = new StringLineReader(slw);
		String temp = null;
		while ((temp = slr.readLine()) != null) {
			System.out.println(temp);
		}
	}

}
